import request from '@/utils/request'

// 查询本井堵漏过程列表
export function listWellPluggingProcess(query) {
  return request({
    url: '/loss/wellPluggingProcess/list',
    method: 'get',
    params: query
  })
}

// 查询本井堵漏过程详细
export function getWellPluggingProcess(id) {
  return request({
    url: '/loss/wellPluggingProcess/' + id,
    method: 'get'
  })
}

// 新增本井堵漏过程
export function addWellPluggingProcess(data) {
  return request({
    url: '/loss/wellPluggingProcess',
    method: 'post',
    data: data
  })
}

// 修改本井堵漏过程
export function updateWellPluggingProcess(data) {
  return request({
    url: '/loss/wellPluggingProcess',
    method: 'put',
    data: data
  })
}

// 删除本井堵漏过程
export function delWellPluggingProcess(id) {
  return request({
    url: '/loss/wellPluggingProcess/' + id,
    method: 'delete'
  })
}
